<h2>Meus Exemplos</h2>

<div class="list">
                <table>
                    <thead>
                        <tr>
                        
                            <g:sortableColumn property="id" title="${message(code: 'exemplo.id.label', default: 'Id')}" />
                        
                            <g:sortableColumn property="chato" title="${message(code: 'exemplo.chato.label', default: 'Chato')}" />
                        
                            <g:sortableColumn property="dataCriacao" title="${message(code: 'exemplo.dataCriacao.label', default: 'Data Criacao')}" />
                        
                            <g:sortableColumn property="descricao" title="${message(code: 'exemplo.descricao.label', default: 'Descricao')}" />
                        
                            <th><g:message code="exemplo.dj.label" default="Dj" /></th>
                        
                            <th><g:message code="exemplo.estilo.label" default="Estilo" /></th>
                        
                        </tr>
                    </thead>
                    <tbody>
                    <g:each in="${exemploInstanceList}" status="i" var="exemploInstance">
                        <tr class="${(i % 2) == 0 ? 'odd' : 'even'}">
                        
                            <td><g:link action="show" id="${exemploInstance.id}">${fieldValue(bean: exemploInstance, field: "id")}</g:link></td>
                        
                            <td>${fieldValue(bean: exemploInstance, field: "chato")}</td>
                        
                            <td><g:formatDate date="${exemploInstance.dataCriacao}" /></td>
                        
                            <td>${fieldValue(bean: exemploInstance, field: "descricao")}</td>
                        
                            <td>${fieldValue(bean: exemploInstance, field: "dj")}</td>
                        
                            <td>${fieldValue(bean: exemploInstance, field: "estilo")}</td>
                        
                        </tr>
                    </g:each>
                    </tbody>
                </table>
            </div>